﻿#pragma once

#include <QDialog>
#include "ui_BaseDlg.h"

class BaseDlg : public QDialog
{
	Q_OBJECT

public:
	BaseDlg(QWidget* parent = nullptr, const QString& title = "BaseDlg");
	~BaseDlg();
	bool showDialog();

protected:
	void mousePressEvent(QMouseEvent* event) override;
	void mouseReleaseEvent(QMouseEvent* event) override;
	void mouseMoveEvent(QMouseEvent* event) override;
protected:
	Ui::BaseDlg base_ui;
	QWidget content_view;
private:
	Qt::MouseButton current_btn;
	QPoint current_mouse_point;
};

/*

<file>res/application_icon/GEO终端.png</file>
		<file>res/application_icon/MF接入点.png</file>
		<file>res/application_icon/MySQL2.5D.png</file>
		<file>res/application_icon/NetBackup2.5D.png</file>
		<file>res/application_icon/NetWorker2.5D.png</file>
		<file>res/application_icon/Oracle2.5D.png</file>
		<file>res/application_icon/产品设置2.5D.png</file>
		<file>res/application_icon/存储节点_复制.png</file>
		<file>res/application_icon/存储节点_复制2.png</file>
		<file>res/application_icon/存储器.png</file>
		<file>res/application_icon/大功率接入点.png</file>
		<file>res/application_icon/大数据高并发.png</file>
		<file>res/application_icon/电脑.png</file>
		<file>res/application_icon/定制化开发.png</file>
		<file>res/application_icon/多模态网元.png</file>
		<file>res/application_icon/多终端覆盖.png</file>
		<file>res/application_icon/服务器.png</file>
		<file>res/application_icon/服务器+变更节点.png</file>
		<file>res/application_icon/服务器+存储节点.png</file>
		<file>res/application_icon/服务器+工作节点.png</file>
		<file>res/application_icon/服务器+主控节点.png</file>
		<file>res/application_icon/服务器2.png</file>
		<file>res/application_icon/高性能服务器.png</file>
		<file>res/application_icon/工作节点_复制.png</file>
		<file>res/application_icon/工作节点_复制2.png</file>
		<file>res/application_icon/功能.png</file>
		<file>res/application_icon/管理节点_复制.png</file>
		<file>res/application_icon/核心级网元.png</file>
		<file>res/application_icon/基础配置2.5D.png</file>
		<file>res/application_icon/建筑.png</file>
		<file>res/application_icon/交换机.png</file>
		<file>res/application_icon/接入点.png</file>
		<file>res/application_icon/接入级2型网元.png</file>
		<file>res/application_icon/接入级3型网元.png</file>
		<file>res/application_icon/节点管理2.5D.png</file>
		<file>res/application_icon/开发.png</file>
		<file>res/application_icon/可视化装饰.png</file>
		<file>res/application_icon/路由器_网关.png</file>
		<file>res/application_icon/区块.png</file>
		<file>res/application_icon/区块节点.png</file>
		<file>res/application_icon/任务管理2.5D.png</file>
		<file>res/application_icon/上传.png</file>
		<file>res/application_icon/收集节点_复制.png</file>
		<file>res/application_icon/收集节点_复制2.png</file>
		<file>res/application_icon/树.png</file>
		<file>res/application_icon/双端连接.png</file>
		<file>res/application_icon/台式电脑.png</file>
		<file>res/application_icon/网关.png</file>
		<file>res/application_icon/文件策略管理2.5D.png</file>
		<file>res/application_icon/文件夹.png</file>
		<file>res/application_icon/稳定云结构.png</file>
		<file>res/application_icon/系统维护.png</file>
		<file>res/application_icon/显示器.png</file>
		<file>res/application_icon/虚谷数据库集群_2_复制.png</file>
		<file>res/application_icon/虚谷数据库集群_4_复制.png</file>
		<file>res/application_icon/虚谷数据库集群_9.png</file>
		<file>res/application_icon/虚谷数据库集群_9_混合.png</file>
		<file>res/application_icon/虚谷数据库集群_91.png</file>
		<file>res/application_icon/虚谷数据库集群_复制.png</file>
		<file>res/application_icon/虚拟数据库管理2.5D.png</file>
		<file>res/application_icon/移动存储.png</file>
		<file>res/application_icon/源代码交付.png</file>
		<file>res/application_icon/云存储.png</file>
		<file>res/application_icon/支持定制开发.png</file>
		<file>res/application_icon/主机管理2.5D.png</file>
		<file>res/application_icon/组织架构2.5D.png</file>

*/